//
//  JGTableViewSectionModel.m
//  RYDatasourceDemo
////   Copyright © 2016年 AC-英特路. All rights reserved.
//  Created by JiaKang.Zhong on 16/4/22.
//

#import "JGTableViewSectionModel.h"

@implementation JGTableViewSectionModel

- (instancetype)initWithItemArray:(NSMutableArray *)items andHeaderTitle:(NSString *)headerT andFooterTitle:(NSString *)footerT{
    
    if (self = [super init]) {
        _cellItems = items;
        _headerTitle = headerT;
        _footerTitle = footerT;
    }
    return self;
}

+ (instancetype)initWithItemArray:(NSMutableArray *)items andHeaderTitle:(NSString *)headerT andFooterTitle:(NSString *)footerT{
    return [[self alloc] initWithItemArray:items andHeaderTitle:headerT andFooterTitle:footerT];
}
@end
